<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

<h:head>
	<title>#{labels['label.titulo.aplicacao']} - <ui:insert name="title" /> </title>
</h:head>
<h:body>

	<h:outputStylesheet library="css" name="style.css" />

	<p:panelGrid id="main-panel-grid" styleClass="new-table-style">

		<p:row>

			<p:column styleClass="corner-cell-style grey-cell-style" />

			<p:column styleClass="center-cell-style">
				<p:outputLabel id="titulo-label"
					value="#{labels['label.titulo.aplicacao']}"
					styleClass="titulo-aplicacao-style" />
			</p:column>

			<p:column styleClass="corner-cell-style grey-cell-style" />

		</p:row>

		<p:row>

			<p:column styleClass="corner-cell-style dark-cell-style" />

			<p:column styleClass="center-cell-style dark-cell-style">
				<ui:insert name="main-menu" />
			</p:column>

			<p:column styleClass="corner-cell-style dark-cell-style">
				<p:outputLabel id="login-label" value="#{labels['label.login']}"
					styleClass="label-style light-blue" />
				<p:outputLabel id="sair-label" value="#{labels['label.sair']}"
					styleClass="label-style light-blue" />
			</p:column>

		</p:row>

		<p:row>

			<p:column styleClass="side-cell-style grey-cell-style">
				<ui:insert name="side-menu" />
			</p:column>

			<p:column styleClass="middle-cell-style">

				<p:outputLabel styleClass="titulo-pagina-style">
					<ui:insert name="title" />
				</p:outputLabel>

				<br />
				<br />

				<ui:insert name="content" />

			</p:column>

			<p:column styleClass="side-cell-style grey-cell-style" />

		</p:row>

		<p:row>

			<p:column styleClass="corner-cell-style grey-cell-style" />

			<p:column styleClass="center-cell-style dark-cell-style">
				<p:outputLabel id="copyright-label"
					value="#{labels['label.copyright']}" styleClass="label-style white" />
				<p:outputLabel id="termos-politica-label"
					value="#{labels['label.termos.de.uso']} | #{labels['label.politicas.de.privacidade']}"
					styleClass="label-style light-blue" />
			</p:column>

			<p:column styleClass="corner-cell-style grey-cell-style" />

		</p:row>

	</p:panelGrid>

</h:body>
</html>
